<?php
foreach($newsList->result() as $news){
	?>
<div class="news">
	<small><?php echo $news->name;?> </small>
	<?php echo $news->content;?>
</div>

	<?php
}
?>